<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue source-code</title>
</head>

<body>
    <div id="app">
        <div class="warp">
            <p>{{name}}</p>
        </div>
        <span>{{age}}</span>
    </div>
    <script src="/dist/umd/vue.js"></script>
    <script>
        let vm = new Vue({
            el: '#app',
            props: {},
            methods: {},
            data() {
                return {
                    name: 'zhang',
                    age: 18,
                    family: {
                        dad: 'zz',
                        age: 18
                    },
                    list:[1,2,3,{age:10,name:'aaa'}]
                }
            },
            // data:[1,2],
            computed: {},
            watch: {}
        })
        console.log(vm._data);
    </script>
</body>

</html>